﻿#include "Http/HttpClientImp.h"

namespace toolkit {

	void HttpClientImp::onConnect(const SockException &ex) {
		if (!_isHttps) {
			HttpClient::onConnect(ex);
		}
		else {
			TcpClientWithSSL<HttpClient>::onConnect(ex);
		}

	}

} /* namespace toolkit */
